package ar.com.ford.it.fullEconomics.struct;

import java.math.BigDecimal;
import java.util.Collection;
import ar.com.ford.it.fullEconomics.persistence.dto.Teesc03Subcoststr;
import ar.com.ford.it.fullEconomics.persistence.dto.Teesc07Subcstitem;
import ar.com.ford.it.fullEconomics.persistence.dto.Teese03Econvalue;
import ar.com.ford.it.fullEconomics.persistence.dto.Teese05Paypolvers;

public class FullEconomicsStruct {
    private Teesc07Subcstitem subCostStrItem = null;
    private Teesc03Subcoststr subCostStructure = null;
    private String tier = null;
    private Teese03Econvalue econValue1 = null;
    private Teese03Econvalue econValue2 = null;
    private BigDecimal variation = new BigDecimal(0);
    private BigDecimal altValue = new BigDecimal(0);
    private BigDecimal pu = new BigDecimal(0);
    private BigDecimal fe = new BigDecimal(0);
    private BigDecimal feAlt = new BigDecimal(0);
    private Teese05Paypolvers payPolVers = null;
    private BigDecimal pp = new BigDecimal(0);
    private BigDecimal ppAlt = new BigDecimal(0);
    private Collection<FullEconomicsStruct> subStructs = null;
    
    public BigDecimal getAltValue() {
        return altValue;
    }

    public void setAltValue(BigDecimal altValue) {
        this.altValue = altValue;
    }

    public Teese03Econvalue getEconValue1() {
        return econValue1;
    }

    public void setEconValue1(Teese03Econvalue econValue1) {
        this.econValue1 = econValue1;
    }

    public Teese03Econvalue getEconValue2() {
        return econValue2;
    }

    public void setEconValue2(Teese03Econvalue econValue2) {
        this.econValue2 = econValue2;
    }

    public BigDecimal getFe() {
        return fe;
    }

    public void setFe(BigDecimal fe) {
        this.fe = fe;
    }

    public BigDecimal getFeAlt() {
        return feAlt;
    }

    public void setFeAlt(BigDecimal feAlt) {
        this.feAlt = feAlt;
    }

    public Teese05Paypolvers getPayPolVers() {
        return payPolVers;
    }

    public void setPayPolVers(Teese05Paypolvers payPolVers) {
        this.payPolVers = payPolVers;
    }

    public BigDecimal getPu() {
        return pu;
    }

    public void setPu(BigDecimal pu) {
        this.pu = pu;
    }

    public Teesc07Subcstitem getSubCostStrItem() {
        return subCostStrItem;
    }

    public void setSubCostStrItem(Teesc07Subcstitem subCostStrItem) {
        this.subCostStrItem = subCostStrItem;
    }

    public Teesc03Subcoststr getSubCostStructure() {
        return subCostStructure;
    }

    public void setSubCostStructure(Teesc03Subcoststr subCostStructure) {
        this.subCostStructure = subCostStructure;
    }

    public BigDecimal getVariation() {
        return variation;
    }

    public void setVariation(BigDecimal variation) {
        this.variation = variation;
    }

    public BigDecimal getPp() {
        return pp;
    }

    public void setPp(BigDecimal pp) {
        this.pp = pp;
    }

    public BigDecimal getPpAlt() {
        return ppAlt;
    }

    public BigDecimal getPpAltRound() {
        return ppAlt.setScale(2,BigDecimal.ROUND_HALF_DOWN);
    }

    
    public void setPpAlt(BigDecimal ppAlt) {
        this.ppAlt = ppAlt;
    }

    public String getTier() {
        return tier;
    }

    public void setTier(String tier) {
        this.tier = tier;
    }

    public Collection<FullEconomicsStruct> getSubStructs() {
        return subStructs;
    }

    public void setSubStructs(Collection<FullEconomicsStruct> subStructs) {
        this.subStructs = subStructs;
    }


}
